package mysql

import "gorm.io/gorm"

type Shop struct {
	gorm.Model
	Name  string  `gorm:"type:varchar(30)"`
	Price float64 `gorm:"type:decimal(10,2)"`
	Num   int     `gorm:"type:int(10)"`
}

type Drink struct {
	gorm.Model
	DrinkName  string  `gorm:"type:varchar(30)"`
	DrinkPrice float64 `gorm:"type:decimal(10,2)"`
	We         string  `gorm:"type:varchar(30)"`
	Info       string  `gorm:"type:varchar(30)"`
	DrinkNum   int     `gorm:"type:int(10)"`
	Image      string  `gorm:"type:varchar(500)"`
}
type Orders struct {
	gorm.Model
	ShopId      int    `gorm:"type:int(10)"`
	OrderNumber string `gorm:"type:varchar(30)"`
	OrderNum    int    `gorm:"type:int(10)"`
}
